//SOUND MONITOR for the classroom 

int sensorAOPin = 4;    //Microphone Sensor Analog Output Pin
int sensorDOPin = 1;  //Microphone Sensor Digital Output Pin   
int sensorDOValue = 0;    
int sensorValue = 0; 

void setup() {
//  pinMode(YellowLED, OUTPUT); 
// pinMode(RedLED, OUTPUT);
Serial.begin(9600);
}

void loop() {
  // read the value from the sensor:
  sensorValue = analogRead(sensorAOPin);    
 Serial.println(sensorValue);
 delay(150);
 sensorDOValue = digitalRead(sensorDOPin);
 Serial.println(sensorDOValue);
}
